var regex = /x1f/
var regex = new RegExp('x1f')
var regex = RegExp('x1f')
new RegExp('[')
RegExp('[')
new (function foo(){})('\\x1f')
  /\u{20}/u
  /\u{1F}/g
new RegExp("\\u{20}", "u")
new RegExp("\\u{1F}")
new RegExp("\\u{1F}", "g")
new RegExp("\\u{1F}", flags)
new RegExp("[\\q{\\u{20}}]", "v")
  /[\u{20}--B]/v

const pattern1 = /\x20/;
const pattern2 = /\u0020/;
const pattern3 = /\u{20}/u;
const pattern4 = /\t/;
const pattern5 = /\n/;
const pattern6 = new RegExp("\x20");
const pattern7 = new RegExp("\\t");
const pattern8 = new RegExp("\\n");